package com.zhuiyi.zhxy.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Description:
 * @Author: zhuiyi
 * @CreatTime: 2023/1/18 10:27
 **/
@ApiModel
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("tb_clazz")
public class Clazz {
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;//id
    @ApiModelProperty("班级名称")
    private String name;//班级名称
    private Integer number;//班级号
    private String introducation;//介绍
    private String headmaster;//班主任
    private String email;//邮箱
    private String telephone;//电话号码
    @ApiModelProperty("年级名称")
    private String gradeName;//年级名称
}
